
$(function(){
	var path = "/OA"
	console.log("hello");
	function logout(){
		$.ajax({
			url :path + "/manager/logout",
			dataType:"json",
			error:function(){
				alert("系统错误");
			},
			success:function(data){
				console.log(data);
				if(data.success){
					layer.alert(data.message,'信息提示',function(){
						location.reload();
					});
				}else{
					layer.alert(data.message);
					console.log(data);
				}
			}
		});
	};
});
